package com.easyjava.builder.strategy.factory;

import com.easyjava.bean.TableInfo;
import com.easyjava.builder.strategy.enums.MapperXmlEnum;
import java.io.BufferedWriter;
import java.io.IOException;

/**
 * @program: workspace-easyjava
 * @description:
 * @author: cw
 * @create: 2024-05-28 09:36
 **/
public class MapperXmlFactory {

    public static void buildXml(MapperXmlEnum mapperXmlEnum, TableInfo tableInfo, BufferedWriter bw)
            throws IOException {
        mapperXmlEnum.getClazz().generateMapperXml(tableInfo, bw);
    }

}
